package com.pagoda.nerp.trade.dao;

import com.pagoda.nerp.trade.entity.MdAccountRole;

import java.util.List;
import java.util.Map;

public interface MdAccountRoleDao {
    int deleteByPrimaryKey(Integer accountRoleId);

    int insert(MdAccountRole record);

    MdAccountRole selectByPrimaryKey(Integer accountRoleId);

    List<MdAccountRole> selectAll();

    int updateByPrimaryKey(MdAccountRole record);

    // 根据条件获取列表
    List<MdAccountRole> selectAllByConditon(Map map);

    // 根据条件获取详情
    MdAccountRole selectOneByCondition(Map map);

    // 根据条件进行删除
    int deleteByCondition(Map map);

    int batchInsert(List<MdAccountRole> listMdAccountRole);

}